package com.le.tester.tip;

import java.io.UnsupportedEncodingException;

/**
 * createTime：2023/3/18 14:11
 * description：阿里人脸人体测试
 */
public class AliFaceBodyTest {

    public static void main(String[] args) throws UnsupportedEncodingException {
        String tempPath = "https://bojuematerial-prudcut-public.oss-cn-guangzhou.aliyuncs.com/0W0A0003.JPG_2023031417051396_1678785566724.JPG";


//        String name = FileNameUtil.getName(tempPath);
//
//        System.out.println("name:" + name);
//
//        String prefix = FileNameUtil.getPrefix(tempPath);
//
//        System.out.println("prefix:" + prefix);
//
//        String suffix = FileNameUtil.getSuffix(tempPath);
//
//        System.out.println("suffix:" + suffix);
//
//        String[] split = name.split(suffix);
//
//        String s = split[0];

        //int i = UUID.randomUUID().toString().hashCode();
//        if (StringUtils.isBlank(filePath)) {
////            return null;
////        }
////        //获取文件名称
////        String mainName = FileNameUtil.mainName(filePath);
////        String suffix = FileNameUtil.getSuffix(filePath);
//////        while (StringUtils.isNotBlank(suffix) && mainName.contains(suffix)) {
//////            mainName = FileNameUtil.mainName(mainName);
//////            suffix = FileNameUtil.getSuffix(mainName);
//////        }
////
////        //暂时使用if,路径有变化直接使用while
////        if (StringUtils.isNotBlank(suffix) && mainName.contains(suffix)) {
////            mainName = FileNameUtil.mainName(mainName);
////            //suffix = FileNameUtil.getSuffix(mainName);
////        }
////
////        if (StringUtils.isNotBlank(mainName)) {
////            mainName = URLDecoder.decode(mainName, StandardCharsets.UTF_8);
////        }
////        return mainName;

        String temp = "temp";

        System.out.println(false);

    }
}
